package com.baiyichen.pojo;

/**
 * Author:BaiYiChen
 * Date:2022/3/2212:39
 */
public class Books {
  private Integer bookID;
  private String bookName;
  private String bookCounts;
  private String detail;
  
  public Books() {
  }
  
  public Books(Integer bookID, String bookName, String bookCounts, String detail) {
    this.bookID = bookID;
    this.bookName = bookName;
    this.bookCounts = bookCounts;
    this.detail = detail;
  }
  
  public Integer getBookID() {
    return bookID;
  }
  
  public void setBookID(Integer bookID) {
    this.bookID = bookID;
  }
  
  public String getBookName() {
    return bookName;
  }
  
  public void setBookName(String bookName) {
    this.bookName = bookName;
  }
  
  public String getBookCounts() {
    return bookCounts;
  }
  
  public void setBookCounts(String bookCounts) {
    this.bookCounts = bookCounts;
  }
  
  public String getDetail() {
    return detail;
  }
  
  public void setDetail(String detail) {
    this.detail = detail;
  }
  
  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("{");
    sb.append("\"bookID\":")
            .append(bookID);
    sb.append(",\"bookName\":\"")
            .append(bookName).append('\"');
    sb.append(",\"bookCounts\":\"")
            .append(bookCounts).append('\"');
    sb.append(",\"detail\":\"")
            .append(detail).append('\"');
    sb.append('}');
    return sb.toString();
  }
}
